<template lang='pug'>
.footer
    slot
        el-button(
            type='primary',
            icon='custom-icon-save',
            @click='$emit("confirm")',
            :loading='loading'
        ) 保存
</template>

<script>
export default {
    props: {
        loading: Boolean,
    },
}
</script>

<style lang="scss" scoped>
.footer {
    padding: 12px 24px;
    margin-left: -16px;
    margin-right: -16px;
    text-align: right;
    box-shadow: 0px 1px 0px 0px #e6e9f2 inset;
}
</style>